package com.ruoyi.mes.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工序管理对象 pro_process
 * 
 * @author CFL
 * @date 2024-04-28
 */
public class ProProcess extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 工序id */
    private Long id;

    /** 设备id */
    private Long equipmentId;

    public Long getMatId() {
        return matId;
    }

    public void setMatId(Long matId) {
        this.matId = matId;
    }

    /** 物料id */
    @Excel(name = "物料id")
    private Long matId;

    private String eptName;

    /** 工序编号 */
    @Excel(name = "工序编号")
    private String pcsSn;

    /** 工序名称 */
    @Excel(name = "工序名称")
    private String pcsName;

    /** 逻辑删除;0：存在；1：删除 */
    private Long isDeleted;

    /** 创建者 */
    @Excel(name = "创建者")
    private String createdBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 更新者 */
    private String updatedBy;

    /** 更新时间 */
    private Date updatedDate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setEquipmentId(Long equipmentId) 
    {
        this.equipmentId = equipmentId;
    }

    public Long getEquipmentId() 
    {
        return equipmentId;
    }
    public void setPcsSn(String pcsSn) 
    {
        this.pcsSn = pcsSn;
    }

    public String getPcsSn() 
    {
        return pcsSn;
    }
    public String getEptName() {
        return eptName;
    }
    public void setPcsName(String pcsName) 
    {
        this.pcsName = pcsName;
    }

    public String getPcsName() 
    {
        return pcsName;
    }
    public void setIsDeleted(Long isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Long getIsDeleted() 
    {
        return isDeleted;
    }
    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }
    public void setUpdatedBy(String updatedBy) 
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy() 
    {
        return updatedBy;
    }
    public void setUpdatedDate(Date updatedDate) 
    {
        this.updatedDate = updatedDate;
    }

    public Date getUpdatedDate() 
    {
        return updatedDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("equipmentId", getEquipmentId())
            .append("pcsSn", getPcsSn())
            .append("pcsName", getPcsName())
            .append("remark", getRemark())
            .append("isDeleted", getIsDeleted())
            .append("createdBy", getCreatedBy())
            .append("createdTime", getCreatedTime())
            .append("eptName",getEptName())
            .append("updatedBy", getUpdatedBy())
            .append("updatedDate", getUpdatedDate())
            .toString();
    }
}
